From: Doug Torrance Date: Sat, 31 Dec 2022 15:43:00 +0000 (+0000) Subject: Use --memopt option when calling TOPCOM X-Git-Tag: archive/raspbian/1.21+ds-3+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1dcd8ad7e1691bb712116dc5b6bf4b70b6444717;p=macaulay2.git Use --memopt option when calling TOPCOM Bug: https://github.com/Macaulay2/M2/issues/1707 Bug: https://github.com/Macaulay2/M2/issues/2712 Last-Update: 2022-12-15 Saves memory using caching to avoid example/test failures. Gbp-Pq: Name topcom-memopt.patch --- diff --git a/M2/Macaulay2/packages/Topcom.m2 b/M2/Macaulay2/packages/Topcom.m2 index c8075d0..81faaf7 100644 --- a/M2/Macaulay2/packages/Topcom.m2 +++ b/M2/Macaulay2/packages/Topcom.m2 @@ -317,7 +317,7 @@ topcomIsTriangulation(Matrix, List) := Boolean => opts -> (Vin, T) -> ( << "Index sets do not correspond to full-dimensional simplices" << endl; return false; ); - (outfile, errfile) := callTopcom("points2nflips --checktriang -v", {topcomPoints(V, Homogenize=>false), [], T }); + (outfile, errfile) := callTopcom("points2nflips --checktriang --memopt -v", {topcomPoints(V, Homogenize=>false), [], T }); not match("not valid", get errfile) )